package entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.util.Date;

public class LeaveData {
    @ExcelProperty("请假编号")
    private String leaveID;
    @ExcelProperty("请假课程编号")
    private String courseID;
    @ExcelProperty("请假原因")
    private String reason;
    @ExcelProperty("请假天数")
    private int daynum;
    @ExcelProperty("学号")
    private String stuNo;
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ExcelProperty("申请时间")
    @ColumnWidth(26)
    private Date applytime;
    @ExcelProperty("状态")
    private String status;
    @ExcelProperty("审核时间")
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ColumnWidth(26)
    private Date audittime;
    @ExcelProperty("辅导员意见")
    private String opinion;

    public String getLeaveID() {
        return leaveID;
    }

    public void setLeaveID(String leaveID) {
        this.leaveID = leaveID;
    }

    public String getCourseID() {
        return courseID;
    }

    public void setCourseID(String courseID) {
        this.courseID = courseID;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public int getDaynum() {
        return daynum;
    }

    public void setDaynum(int daynum) {
        this.daynum = daynum;
    }

    public String getStuNo() {
        return stuNo;
    }

    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public Date getApplytime() {
        return applytime;
    }

    public void setApplytime(Date applytime) {
        this.applytime = applytime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getAudittime() {
        return audittime;
    }

    public void setAudittime(Date audittime) {
        this.audittime = audittime;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public LeaveData(String leaveID, String courseID, String reason, int daynum, String stuNo, Date applytime, String status, Date audittime, String opinion) {
        this.leaveID = leaveID;
        this.courseID = courseID;
        this.reason = reason;
        this.daynum = daynum;
        this.stuNo = stuNo;
        this.applytime = applytime;
        this.status = status;
        this.audittime = audittime;
        this.opinion = opinion;
    }

}
